package com.jeeplus.modules.guide.service;

import com.jeeplus.database.datasource.annotation.DS;
import com.jeeplus.modules.guide.mapper.TextMessageWarnMapper;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.Map;


@DS("queuing")
@Service
@RequiredArgsConstructor
@Slf4j
public class TextMessageWarnService {
    private final TextMessageWarnMapper textMessageWarnMapper;
    /**
     * 查询超60岁短信提醒联系人
     * @return
     */
    public Map<String,String> getTextMessage(String areaId){
        return textMessageWarnMapper.getTextMessage(areaId);
    }
    /**
     * 查询等待超时短信提醒联系人
     * @return
     */
    public Map<String,String> getAwait(String areaId){

        return textMessageWarnMapper.getAwait(areaId);
    }


}
